var express = require('express');
var router = express.Router();
/**
 * 即时通讯相关api
 */
/* GET users listing. */
router.get('/', function (req, res, next) {
    // socketServer.getAllIfo((err, result, fields) => {
    //     res.send(result);
    // })
});

router.post('/sendMsg', function (req, res, next) {
    const ress = req.body;
    const harder = req.headers;
    console.log(harder.wsid);
    console.log(ress);
    res.send(ress)
});

module.exports = router;